package com.df.bpm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.df.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Table;


/**
 * 信息化原因
 */
@TableName("businessOverview.informatizationReason")
@Getter
@Setter
@ToString
@Accessors(chain = true)
@Table(name="businessOverview.informatizationReason")
public class InformatizationReason extends BaseEntity {

    /**
     * 清单主键id
     */
    @Schema(description = "清单主键id")
    @TableId(value = "informatizationReasonIndex", type = IdType.AUTO)
    private Integer informatizationReasonIndex;

    /**
     * 信息化需求单主键id
     */
    @Schema(description = "信息化需求单主键id")
    private Integer informatizationRequirementIndex;

    /**
     * 申请原因
     * (当前缺陷)
     */
    @Schema(description = "申请原因")
    private String defectNow;

}

